-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Docker CLI fallback if Podman is not found #165
Conversation
Signed-off-by: Davis Goodin <[email protected]>
c089354
to
f47b209
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if CONTAINER_RUNTIME would be a better name instead of PODMAN_BIN now that we know docker can be used as alternative? wdyt @dagood @eemcmullan @shawn-hurley
I am ok with PODMAN_BIN. I would worry about container_runtime, because I think that refers to something other than what we are using.
|
You're right, that would be confusing...nvm, thanks! |
Thanks for the reviews and merge! I do think that a neutral name could make it easier to document (and understand)--the name That said, |
A follow up PR to rename and handle the existing PODMAN_BIN I think would be a good thing, if not can you file an issue and we can make the follow on ? |
Thanks, filed #168. |
Add a simple fallback to the logic that detects
podman
to also try to detectdocker
.Related:
(A nice coincidence--I happened to be getting this change ready for PR anyway. 🙂)